@import "bootstrap-sprockets";
@import "bootstrap";
$light-gray:#777;
/* universal */
body {
	padding-top:60px;
}
section{
	overflow:auto;
}
textarea{
	resize:vertical;
}
.center{
	text-align:center;
}
.center h1{
	margin-bottom: 10px;
}

/*   */
h1,h2,h3,h4,h5,h6{
	line-height:1;
}
h1{
	font-size:3em ; letter-spacing:-2px;margin-bottom:30px;text-align:center;
}
h2{
	font-size:1.2em; letter-spacing:-1px;margin-bottom:30px;text-align:center;font-weight:normal;color:$light-gray;
}
p{
	font-size:1.1em;line-height:1.7em;
}
/* header */
#logo{
	float:left;
	margin-right:10px;font-size:1.7em;color:#fff;text-transform:uppercase;letter-spacing:-1px;paddong-top:9px;font-weight:bold;
}
#logo:hover{
	color:#fff;
	text-decoration:none;
}
/* footer */
footer{
	margin-top:45px;padding-top:5px;border-top:1px solid #eaeaea; color:$light-gray;
}
footer a{
	color:#555;
}
footer a:hover{
	color:#222;
}
footer small{
	float:left;
}
footer ul{
	float:right;list-style:none;
}
footer ul li{
	float: left ;margin-left:15px;
}
@mixin box_sizing {
-moz-box-sizing:
border-box;
-webkit-box-sizing: border-box;
box-sizing:
border-box;
}

.debug_dump {
clear: both;
float: left;
width: 100%;
margin-top: 45px;
@include box_sizing;
}

/* sidebar */
aside {
section.user_info {
margin-top: 20px;
}
section {
padding: 10px 0;
margin-top: 20px;
&:first-child {
border: 0;
padding-top: 0;
}
span {
display: block;
margin-bottom: 3px;
line-height: 1;
}
h1 {
font-size: 1.4em;
text-align: left;
letter-spacing: -1px;
margin-bottom: 3px;
margin-top: 0px;
  }
}
}

.gravatar {
float: left;
margin-right: 10px;
}
.gravatar_edit {
margin-top: 15px;
}

/* forms */
input, textarea, select, .uneditable-input {
border: 1px solid #bbb;
width: 100%;
margin-bottom: 15px;
@include box_sizing;
}

input {
height: auto !important;
}


#error_explanation {
color: red;
ul {
color: red;
margin: 0 0 30px 0;
}
}
.field_with_errors {
@extend .has-error;
.form-control {
color: $state-danger-text;
}
}

/* Users index */
.users {
list-style: none;
margin: 0;
li {
overflow: auto;
padding: 10px 0;
border-bottom: 1px solid $gray-lighter;
}
}

/* microposts */
.microposts {
list-style: none;
padding: 0;
li {
padding: 10px 0;
border-top: 1px solid #e8e8e8;
}
.user {
margin-top: 5em;
padding-top: 0;
}
.content {
display: block;
margin-left: 60px;
img {
display: block;
padding: 5px 0;
}
}

.timestamp {
color: $gray-light;
display: block;
margin-left: 60px;
}
.gravatar {
float: left;
margin-right: 10px;
margin-top: 5px;
}
}
aside {
textarea {
height: 100px;
margin-bottom: 5px;
}
}

span.picture {
margin-top: 10px;
input {
border: 0;
}
}

/* sidebar */

.gravatar {
float: left;
margin-right: 10px;
}
.gravatar_edit {
margin-top: 15px;
}

.stats {
overflow: auto;
margin-top: 0;
padding: 0;
a {
float: left;
padding: 0 10px;
border-left: 1px solid $gray-lighter;
color: gray;
&:first-child {
padding-left: 0;
border: 0;
}
&:hover {
text-decoration: none;
color: blue;
}
}
strong {
display: block;
}
}

.user_avatars {
overflow: auto;
margin-top: 10px;
.gravatar {
margin: 1px 1px;
}
a {
padding: 0;
}
}
.users.follow {
padding: 0;
}